<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Markdown使用教程 | 知识库演示</title>
    <meta name="generator" content="VuePress 1.9.9">
    <link rel="icon" href="/vdoing-demo-repository/img/favicon.ico">
    <meta name="description" content="web前端技术博客,简洁至上,专注web前端学习与总结。JavaScript,js,ES6,TypeScript,vue,python,css3,html5,Node,git,github等技术文章。">
    <meta name="keywords" content="前端博客,个人技术博客,前端,前端开发,前端框架,web前端,前端面试题,技术文档,学习,面试,JavaScript,js,ES6,TypeScript,vue,python,css3,html5,Node,git,github,markdown">
    <meta name="theme-color" content="#11a8cd">
    
    <link rel="preload" href="/vdoing-demo-repository/assets/css/0.styles.bb913129.css" as="style"><link rel="preload" href="/vdoing-demo-repository/assets/js/app.52e6b5d0.js" as="script"><link rel="preload" href="/vdoing-demo-repository/assets/js/2.f10ddeba.js" as="script"><link rel="preload" href="/vdoing-demo-repository/assets/js/71.d47ff342.js" as="script"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/10.82e086d6.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/100.2570dab9.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/101.b429c13f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/102.0e9afba4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/103.42e8d9d6.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/104.6ca089b8.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/105.f02335fc.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/106.2fe52c32.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/107.7650f18b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/108.7d825011.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/109.42092f8e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/11.49ec595f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/110.8e6f8d5b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/111.84bc1774.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/112.5da6cb16.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/113.2eb6714d.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/114.dbdf6a79.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/115.96dc61ac.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/116.2774e841.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/117.5a0ea935.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/118.72005b7a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/119.77fd4a33.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/12.66e2368f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/120.994b6190.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/121.794bec47.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/122.239044f6.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/123.d6247b89.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/124.357cddf4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/125.b27c8c6b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/126.2f09d5b4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/127.5b5e7dcc.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/128.ca8342ed.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/129.62196c04.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/13.01d28bf6.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/130.ae36e0a1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/131.63408c4f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/132.7a1bc472.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/133.6f365b21.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/134.7dfd70a1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/135.c110453c.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/136.dea9b77b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/137.212998a2.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/138.cf96d5b3.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/139.34437df0.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/14.52e25550.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/140.b28a1de4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/141.d117632d.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/142.743bfbfc.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/143.d6c926e2.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/144.86916e4e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/145.a4658544.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/146.9f190393.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/147.b53beefe.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/148.d49c882d.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/149.b5c8b142.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/15.ff9c9117.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/150.ab4902b7.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/151.aa13cf1a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/152.ca32ca39.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/153.f3dc7a9e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/154.2198d119.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/155.6cf21591.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/156.929b9e50.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/157.6d227e19.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/158.ad6e937f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/159.d74c55e1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/16.a59e9d0e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/160.1e9abdb1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/161.5343ce3e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/162.214b3f61.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/163.918d2361.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/164.204cab40.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/165.884ba632.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/166.e3bc3126.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/167.b8103188.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/168.176b21b8.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/169.56e67ae6.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/17.73f27920.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/170.05fe9454.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/171.ac72af48.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/172.134bd8be.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/173.f7b83d9b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/174.bc7aa46f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/175.c654668c.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/176.33b09327.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/177.97d7e55f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/178.ab02c611.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/179.0d88c6f5.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/18.39e882fe.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/180.1a2df1f3.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/181.533495f7.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/182.a4fc6807.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/183.e3a44f30.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/184.b731d331.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/185.e6eb67ad.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/186.c2493cb4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/187.279befae.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/188.1de7c987.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/189.e748958a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/19.ef7490a3.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/190.ad045bc8.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/191.c3131762.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/192.29ea4e7e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/193.1e75aa14.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/194.f1150906.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/195.2a593c50.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/196.5aa5efe2.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/197.a328dc59.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/198.9db60424.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/199.d3b39a54.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/20.b5301937.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/200.a9dae555.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/21.2e9bd506.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/22.02e5e5a0.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/23.a00bf08d.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/24.dae9e7bf.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/25.3120ccd4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/26.628f5a86.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/27.d4e86439.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/28.642a9f76.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/29.6c013ead.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/3.c3e96c9f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/30.4e45e23b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/31.9b0c4fcb.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/32.347f1a82.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/33.a17e9f72.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/34.ae475141.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/35.70d7eb87.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/36.0166a619.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/37.8d63783a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/38.91c94a9e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/39.edf5fef6.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/4.f05e47c1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/40.f2dfda35.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/41.488faa5e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/42.258fde58.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/43.c46a30da.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/44.cfac4a51.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/45.58439e5f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/46.91d42cf4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/47.39ec1b7a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/48.900b1d2a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/49.4db4a295.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/5.85821e9b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/50.4a48e245.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/51.32253e74.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/52.f9692c89.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/53.f93fad53.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/54.cccf7ffb.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/55.7e4f324a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/56.5d04b9d7.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/57.ed34f737.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/58.9e762eed.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/59.81cfbcc1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/6.5f8d8bd6.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/60.76f14de8.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/61.a4d207e0.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/62.fce4471e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/63.58fd2153.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/64.b3f081c8.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/65.dbde37b1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/66.49bc7970.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/67.48b689d5.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/68.a3660c81.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/69.b4057547.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/7.4acc3e20.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/70.5f3717cf.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/72.eca3c6ef.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/73.71bbaeec.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/74.6fe6e554.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/75.4dbad835.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/76.6ec52a3f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/77.9041350a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/78.e0b3aa97.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/79.1dbdb52c.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/8.503d9748.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/80.568b41f1.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/81.9394cc64.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/82.e36a0a2e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/83.fba15f4a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/84.1a6a64b4.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/85.af0f0d14.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/86.aed3f80d.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/87.08c34bee.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/88.52b2750e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/89.6d27f363.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/9.9691b37e.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/90.cccb0e61.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/91.6fb1e7f3.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/92.9e3d1d8a.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/93.25bb0c7b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/94.0a896da5.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/95.41991c9b.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/96.1f4103d8.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/97.97ec058f.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/98.f40afd31.js"><link rel="prefetch" href="/vdoing-demo-repository/assets/js/99.ac67e72d.js">
    <link rel="stylesheet" href="/vdoing-demo-repository/assets/css/0.styles.bb913129.css">
  </head>
  <body class="theme-mode-light">
    <div id="app" data-server-rendered="true"><div class="theme-container sidebar-open have-rightmenu"><header class="navbar blur"><div title="目录" class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/vdoing-demo-repository/" class="home-link router-link-active"><img src="/vdoing-demo-repository/img/EB-logo.png" alt="知识库演示" class="logo"> <span class="site-name can-hide">知识库演示</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/vdoing-demo-repository/" class="nav-link">首页</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Python" class="dropdown-title"><a href="/vdoing-demo-repository/python/" class="link-title">Python</a> <span class="title" style="display:none;">Python</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>Python</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/vdoing-demo-repository/pages/c438df/" class="nav-link">Python基础</a></li></ul></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="前端" class="dropdown-title"><a href="/vdoing-demo-repository/web/" class="link-title">前端</a> <span class="title" style="display:none;">前端</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>前端文章</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/vdoing-demo-repository/pages/8143cc480faf9a11/" class="nav-link">JavaScript</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/pages/802a1ca6f7b71c59/" class="nav-link">Vue</a></li></ul></li><li class="dropdown-item"><h4>学习笔记</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/javascript/" class="nav-link">《JavaScript教程》笔记</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/es6/" class="nav-link">《ES6 教程》笔记</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/vue/" class="nav-link">《Vue》笔记</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/typescript-axios/" class="nav-link">《TypeScript 从零实现 axios》</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/wx-miniprogram/" class="nav-link">小程序笔记</a></li></ul></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="页面" class="dropdown-title"><a href="/vdoing-demo-repository/ui/" class="link-title">页面</a> <span class="title" style="display:none;">页面</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/8309a5b876fc95e3/" class="nav-link">HTML</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/0a83b083bdf257cb/" class="nav-link">CSS</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="技术" class="dropdown-title"><a href="/vdoing-demo-repository/technology/" class="link-title">技术</a> <span class="title" style="display:none;">技术</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/9a7ee40fc232253e/" class="nav-link">技术文档</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/4c778760be26d8b3/" class="nav-link">GitHub技巧</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/117708e0af7f0bd9/" class="nav-link">Nodejs</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/41f87d890d0a02af/" class="nav-link">博客搭建</a></li></ul></div></div><div class="nav-item"><a href="/vdoing-demo-repository/archives/" class="nav-link">归档</a></div> <a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank" rel="noopener noreferrer" class="repo-link">
    GitHub
    <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav></div></header> <div class="sidebar-mask"></div> <div class="sidebar-hover-trigger"></div> <aside class="sidebar" style="display:none;"><!----> <nav class="nav-links"><div class="nav-item"><a href="/vdoing-demo-repository/" class="nav-link">首页</a></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Python" class="dropdown-title"><a href="/vdoing-demo-repository/python/" class="link-title">Python</a> <span class="title" style="display:none;">Python</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>Python</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/vdoing-demo-repository/pages/c438df/" class="nav-link">Python基础</a></li></ul></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="前端" class="dropdown-title"><a href="/vdoing-demo-repository/web/" class="link-title">前端</a> <span class="title" style="display:none;">前端</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><h4>前端文章</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/vdoing-demo-repository/pages/8143cc480faf9a11/" class="nav-link">JavaScript</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/pages/802a1ca6f7b71c59/" class="nav-link">Vue</a></li></ul></li><li class="dropdown-item"><h4>学习笔记</h4> <ul class="dropdown-subitem-wrapper"><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/javascript/" class="nav-link">《JavaScript教程》笔记</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/es6/" class="nav-link">《ES6 教程》笔记</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/vue/" class="nav-link">《Vue》笔记</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/typescript-axios/" class="nav-link">《TypeScript 从零实现 axios》</a></li><li class="dropdown-subitem"><a href="/vdoing-demo-repository/note/wx-miniprogram/" class="nav-link">小程序笔记</a></li></ul></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="页面" class="dropdown-title"><a href="/vdoing-demo-repository/ui/" class="link-title">页面</a> <span class="title" style="display:none;">页面</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/8309a5b876fc95e3/" class="nav-link">HTML</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/0a83b083bdf257cb/" class="nav-link">CSS</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="技术" class="dropdown-title"><a href="/vdoing-demo-repository/technology/" class="link-title">技术</a> <span class="title" style="display:none;">技术</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/9a7ee40fc232253e/" class="nav-link">技术文档</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/4c778760be26d8b3/" class="nav-link">GitHub技巧</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/117708e0af7f0bd9/" class="nav-link">Nodejs</a></li><li class="dropdown-item"><!----> <a href="/vdoing-demo-repository/pages/41f87d890d0a02af/" class="nav-link">博客搭建</a></li></ul></div></div><div class="nav-item"><a href="/vdoing-demo-repository/archives/" class="nav-link">归档</a></div> <a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank" rel="noopener noreferrer" class="repo-link">
    GitHub
    <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></nav>  <ul class="sidebar-links"><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading open"><span>技术文档</span> <span class="arrow down"></span></p> <ul class="sidebar-links sidebar-group-items"><li><a href="/vdoing-demo-repository/pages/9a7ee40fc232253e/" class="sidebar-link">Git使用手册</a></li><li><a href="/vdoing-demo-repository/pages/ad247c4332211551/" aria-current="page" class="active sidebar-link">Markdown使用教程</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#一、markdown" class="sidebar-link">一、Markdown</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#简介" class="sidebar-link">简介</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#应用" class="sidebar-link">应用</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#编辑器" class="sidebar-link">编辑器</a></li></ul></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#二、徽章" class="sidebar-link">二、徽章</a></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#三、设置目录" class="sidebar-link">三、设置目录</a></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#四、标题" class="sidebar-link">四、标题</a></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#二级标题" class="sidebar-link">二级标题</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#三级标题" class="sidebar-link">三级标题</a></li></ul></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#五、文本" class="sidebar-link">五、文本</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#段落" class="sidebar-link">段落</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#字体" class="sidebar-link">字体</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#删除线" class="sidebar-link">删除线</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#下划线" class="sidebar-link">下划线</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#文字高亮" class="sidebar-link">文字高亮</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#分隔线" class="sidebar-link">分隔线</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#脚注" class="sidebar-link">脚注</a></li></ul></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#六、列表" class="sidebar-link">六、列表</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#无序列表" class="sidebar-link">无序列表</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#有序列表" class="sidebar-link">有序列表</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#折叠列表" class="sidebar-link">折叠列表</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#带复选框列表" class="sidebar-link">带复选框列表</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#列表嵌套" class="sidebar-link">列表嵌套</a></li></ul></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#七、区块引用" class="sidebar-link">七、区块引用</a></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#八、代码" class="sidebar-link">八、代码</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#代码区块" class="sidebar-link">代码区块</a></li></ul></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#九、链接" class="sidebar-link">九、链接</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#变量链接" class="sidebar-link">变量链接</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#github仓库中使用内部链接" class="sidebar-link">Github仓库中使用内部链接</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#锚点链接" class="sidebar-link">锚点链接</a></li></ul></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#十、图片" class="sidebar-link">十、图片</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#图片宽高" class="sidebar-link">图片宽高</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#相对路径以及github中使用图片" class="sidebar-link">相对路径以及Github中使用图片</a></li></ul></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#十一、表格" class="sidebar-link">十一、表格</a></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#十二、emoji表情包" class="sidebar-link">十二、Emoji表情包</a></li><li class="sidebar-sub-header level2"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#十三、其他技巧" class="sidebar-link">十三、其他技巧</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#支持的-html-元素" class="sidebar-link">支持的 HTML 元素</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#转义" class="sidebar-link">转义</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#数学公式" class="sidebar-link">数学公式</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#图表" class="sidebar-link">图表</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#流程图" class="sidebar-link">流程图</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#时序图" class="sidebar-link">时序图</a></li><li class="sidebar-sub-header level3"><a href="/vdoing-demo-repository/pages/ad247c4332211551/#甘特图" class="sidebar-link">甘特图</a></li></ul></li></ul></li><li><a href="/vdoing-demo-repository/pages/61f2f95fd7da14fd/" class="sidebar-link">npm常用命令</a></li><li><a href="/vdoing-demo-repository/pages/dec4f3f00e71a312/" class="sidebar-link">npm packageJson属性详解</a></li><li><a href="/vdoing-demo-repository/pages/4e8444e2d534d14f/" class="sidebar-link">yaml语言教程</a></li></ul></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>GitHub技巧</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>Nodejs</span> <span class="arrow right"></span></p> <!----></section></li><li><section class="sidebar-group collapsable depth-0"><p class="sidebar-heading"><span>博客搭建</span> <span class="arrow right"></span></p> <!----></section></li></ul> </aside> <div><main class="page"><div class="theme-vdoing-wrapper "><div class="articleInfo-wrap" data-v-06225672><div class="articleInfo" data-v-06225672><ul class="breadcrumbs" data-v-06225672><li data-v-06225672><a href="/vdoing-demo-repository/" title="首页" class="iconfont icon-home router-link-active" data-v-06225672></a></li> <li data-v-06225672><a href="/vdoing-demo-repository/technology/#技术" data-v-06225672>技术</a></li><li data-v-06225672><a href="/vdoing-demo-repository/technology/#技术文档" data-v-06225672>技术文档</a></li></ul> <div class="info" data-v-06225672><!----> <div title="创建时间" class="date iconfont icon-riqi" data-v-06225672><a href="javascript:;" data-v-06225672>2019-12-25</a></div> <!----></div></div></div> <!----> <div class="content-wrapper"><div class="right-menu-wrapper"><div class="right-menu-margin"><div class="right-menu-title">目录</div> <div class="right-menu-content"></div></div></div> <h1><img src="">Markdown使用教程<!----></h1> <!----> <div class="theme-vdoing-content content__default"><h1 id="markdown使用教程"><a href="#markdown使用教程" class="header-anchor">#</a> Markdown使用教程</h1> <h2 id="一、markdown"><a href="#一、markdown" class="header-anchor">#</a> 一、Markdown</h2> <h3 id="简介"><a href="#简介" class="header-anchor">#</a> 简介</h3> <p><img src="https://raw.githubusercontent.com/xugaoyi/image_store/master/blog/md_logo.png" alt="logo"></p> <p><code>Markdown</code> 是一种轻量级标记语言，它允许人们使用易读易写的纯文本格式编写文档。</p> <h3 id="应用"><a href="#应用" class="header-anchor">#</a> 应用</h3> <p>当前许多网站都广泛使用 <code>Markdown</code> 来撰写帮助文档或是用于论坛上发表消息。例如：GitHub、简书、知乎等</p> <h3 id="编辑器"><a href="#编辑器" class="header-anchor">#</a> 编辑器</h3> <p>推荐使用<code>Typora</code>，官网：<a href="https://typora.io/" target="_blank" rel="noopener noreferrer">https://typora.io/<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h2 id="二、徽章"><a href="#二、徽章" class="header-anchor">#</a> 二、徽章</h2> <h4 id="什么是徽章"><a href="#什么是徽章" class="header-anchor">#</a> 什么是徽章</h4> <p>徽章是一种小巧精美的小图标，一般配有相关文字进行辅助说明，可对数据进行监控，链接跳转等，富有表现力。</p> <p>常见于<code>github</code>项目主页，但其不仅出现于 <code>github</code> 项目主页，凡是能够表现图片的地方都可以出现徽章。</p> <h4 id="徽章的使用"><a href="#徽章的使用" class="header-anchor">#</a> 徽章的使用</h4> <ul><li>在<code>markdown</code>中使用</li></ul> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>格式:
<span class="token url">[<span class="token content">![图片文字说明</span>](<span class="token url">图片源地址</span>)</span>](超链接地址)  # 即超链接内部嵌套图片

语法：
<span class="token url">[<span class="token content">![github</span>](<span class="token url">https://img.shields.io/badge/github-xugaoyi-brightgreen.svg</span>)</span>](https://github.com/xugaoyi)
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><p><a href="https://github.com/xugaoyi" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/github-xugaoyi-brightgreen.svg" alt="github"><span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>徽章生成网站：<a href="https://shields.io/" target="_blank" rel="noopener noreferrer">https://shields.io/<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>本文档主要介绍markdown，不对徽章做过多介绍，详细介绍请 <a href="https://segmentfault.com/a/1190000019552597" target="_blank" rel="noopener noreferrer"> 戳我 <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a> 了解。</p> <h2 id="三、设置目录"><a href="#三、设置目录" class="header-anchor">#</a> 三、设置目录</h2> <p>设置之后会根据分级标题来自动生成目录。</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>[TOC]
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><blockquote><p>注：github暂未支持。</p></blockquote> <p>[TOC]</p> <p>在github生成TOC的方法：<a href="https://github.com/ekalinin/github-markdown-toc" target="_blank" rel="noopener noreferrer">https://github.com/ekalinin/github-markdown-toc<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>windows系统需要基于golang实现的工具：https://github.com/ekalinin/github-markdown-toc.go</p> <blockquote><p>如果你有GO语言的编译环境，可以尝试自己编译，如果没有，可以直接下载编译好的二进制文件。</p> <p>如windows系统64位 下载：gh-md-toc.windows.amd64.tgz （386 是32位，amd64是64位）</p> <p>下载解压后，发现没有后缀名无法识别，实际上这是个exe文件，所以只需要暴力地在后面加上.exe就可以开始愉快使用了。</p> <p>使用方法：</p> <ol><li>首先将.md文档复制到gh-md-toc.exe的根目录下</li> <li>在该目录下打开系统命令行，输入命令：gh-md-toc.exe README.MD 生成目录</li> <li>把生成的目录复制到.md文件即可。</li></ol></blockquote> <p><strong>这是gh-md-toc生成的目录：</strong></p> <ul><li><a href="#%E4%B8%80markdown">一、Markdown</a> <ul><li><a href="#%E7%AE%80%E4%BB%8B">简介</a></li> <li><a href="#%E5%BA%94%E7%94%A8">应用</a></li> <li><a href="#%E7%BC%96%E8%BE%91%E5%99%A8">编辑器</a></li></ul></li> <li><a href="#%E4%BA%8C%E5%BE%BD%E7%AB%A0">二、徽章</a> <ul><li><a href="#%E4%BB%80%E4%B9%88%E6%98%AF%E5%BE%BD%E7%AB%A0">什么是徽章</a></li> <li><a href="#%E5%BE%BD%E7%AB%A0%E7%9A%84%E4%BD%BF%E7%94%A8">徽章的使用</a></li></ul></li> <li><a href="#%E4%B8%89%E8%AE%BE%E7%BD%AE%E7%9B%AE%E5%BD%95">三、设置目录</a></li> <li><a href="#%E5%9B%9B%E6%A0%87%E9%A2%98">四、标题</a></li> <li><a href="#%E4%B8%80%E7%BA%A7%E6%A0%87%E9%A2%98">一级标题</a> <ul><li><a href="#%E4%BA%8C%E7%BA%A7%E6%A0%87%E9%A2%98">二级标题</a> <ul><li><a href="#%E4%B8%89%E7%BA%A7%E6%A0%87%E9%A2%98">三级标题</a> <ul><li><a href="#%E5%9B%9B%E7%BA%A7%E6%A0%87%E9%A2%98">四级标题</a> <ul><li><a href="#%E4%BA%94%E7%BA%A7%E6%A0%87%E9%A2%98">五级标题</a> <ul><li><a href="#%E5%85%AD%E7%BA%A7%E6%A0%87%E9%A2%98">六级标题</a></li></ul></li></ul></li></ul></li></ul></li> <li><a href="#%E4%BA%94%E6%96%87%E6%9C%AC">五、文本</a> <ul><li><a href="#%E6%AE%B5%E8%90%BD">段落</a></li> <li><a href="#%E5%AD%97%E4%BD%93">字体</a></li> <li><a href="#%E5%88%A0%E9%99%A4%E7%BA%BF">删除线</a></li> <li><a href="#%E4%B8%8B%E5%88%92%E7%BA%BF">下划线</a></li> <li><a href="#%E6%96%87%E5%AD%97%E9%AB%98%E4%BA%AE">文字高亮</a></li> <li><a href="#%E5%88%86%E9%9A%94%E7%BA%BF">分隔线</a></li> <li><a href="#%E8%84%9A%E6%B3%A8">脚注</a></li></ul></li> <li><a href="#%E5%85%AD%E5%88%97%E8%A1%A8">六、列表</a> <ul><li><a href="#%E6%97%A0%E5%BA%8F%E5%88%97%E8%A1%A8">无序列表</a></li> <li><a href="#%E6%9C%89%E5%BA%8F%E5%88%97%E8%A1%A8">有序列表</a></li> <li><a href="#%E6%8A%98%E5%8F%A0%E5%88%97%E8%A1%A8">折叠列表</a></li> <li><a href="#%E5%B8%A6%E5%A4%8D%E9%80%89%E6%A1%86%E5%88%97%E8%A1%A8">带复选框列表</a></li> <li><a href="#%E5%88%97%E8%A1%A8%E5%B5%8C%E5%A5%97">列表嵌套</a></li></ul></li> <li><a href="#%E4%B8%83%E5%8C%BA%E5%9D%97%E5%BC%95%E7%94%A8">七、区块引用</a> <ul><li><a href="#%E5%8C%BA%E5%9D%97%E5%B5%8C%E5%A5%97">区块嵌套</a></li> <li><a href="#%E5%8C%BA%E5%9D%97%E4%B8%AD%E4%BD%BF%E7%94%A8%E5%88%97%E8%A1%A8">区块中使用列表</a></li> <li><a href="#%E5%88%97%E8%A1%A8%E4%B8%AD%E4%BD%BF%E7%94%A8%E5%8C%BA%E5%9D%97">列表中使用区块</a></li></ul></li> <li><a href="#%E5%85%AB%E4%BB%A3%E7%A0%81">八、代码</a> <ul><li><a href="#%E4%BB%A3%E7%A0%81%E5%8C%BA%E5%9D%97">代码区块</a></li></ul></li> <li><a href="#%E4%B9%9D%E9%93%BE%E6%8E%A5">九、链接</a> <ul><li><a href="#%E5%8F%98%E9%87%8F%E9%93%BE%E6%8E%A5">变量链接</a></li> <li><a href="#github%E4%B8%AD%E4%BD%BF%E7%94%A8%E5%86%85%E9%83%A8%E9%93%BE%E6%8E%A5">Github中使用内部链接</a></li> <li><a href="#%E9%94%9A%E7%82%B9%E9%93%BE%E6%8E%A5">锚点链接</a></li></ul></li> <li><a href="#%E5%8D%81%E5%9B%BE%E7%89%87">十、图片</a> <ul><li><a href="#%E5%9B%BE%E7%89%87%E5%AE%BD%E9%AB%98">图片宽高</a></li> <li><a href="#%E7%9B%B8%E5%AF%B9%E8%B7%AF%E5%BE%84%E4%BB%A5%E5%8F%8Agithub%E4%B8%AD%E4%BD%BF%E7%94%A8%E5%9B%BE%E7%89%87">相对路径以及Github中使用图片</a></li></ul></li> <li><a href="#%E5%8D%81%E4%B8%80%E8%A1%A8%E6%A0%BC">十一、表格</a></li> <li><a href="#%E5%8D%81%E4%BA%8Cemoji%E8%A1%A8%E6%83%85%E5%8C%85">十二、Emoji表情包</a></li> <li><a href="#%E5%8D%81%E4%B8%89%E5%85%B6%E4%BB%96%E6%8A%80%E5%B7%A7">十三、其他技巧</a> <ul><li><a href="#%E6%94%AF%E6%8C%81%E7%9A%84-html-%E5%85%83%E7%B4%A0">支持的 HTML 元素</a></li> <li><a href="#%E8%BD%AC%E4%B9%89">转义</a></li> <li><a href="#%E6%95%B0%E5%AD%A6%E5%85%AC%E5%BC%8F">数学公式</a></li> <li><a href="#%E5%9B%BE%E8%A1%A8">图表</a></li> <li><a href="#%E6%B5%81%E7%A8%8B%E5%9B%BE">流程图</a></li> <li><a href="#%E6%97%B6%E5%BA%8F%E5%9B%BE">时序图</a></li> <li><a href="#%E7%94%98%E7%89%B9%E5%9B%BE">甘特图</a></li></ul></li></ul></li></ul> <h2 id="四、标题"><a href="#四、标题" class="header-anchor">#</a> 四、标题</h2> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token title important"><span class="token punctuation">#</span> 一级标题</span>
<span class="token title important"><span class="token punctuation">##</span> 二级标题</span>
<span class="token title important"><span class="token punctuation">###</span> 三级标题</span>
<span class="token title important"><span class="token punctuation">####</span> 四级标题</span>
<span class="token title important"><span class="token punctuation">#####</span> 五级标题</span>
<span class="token title important"><span class="token punctuation">######</span> 六级标题</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br></div></div><h1 id="一级标题"><a href="#一级标题" class="header-anchor">#</a> 一级标题</h1> <h2 id="二级标题"><a href="#二级标题" class="header-anchor">#</a> 二级标题</h2> <h3 id="三级标题"><a href="#三级标题" class="header-anchor">#</a> 三级标题</h3> <h4 id="四级标题"><a href="#四级标题" class="header-anchor">#</a> 四级标题</h4> <h5 id="五级标题"><a href="#五级标题" class="header-anchor">#</a> 五级标题</h5> <h6 id="六级标题"><a href="#六级标题" class="header-anchor">#</a> 六级标题</h6> <h2 id="五、文本"><a href="#五、文本" class="header-anchor">#</a> 五、文本</h2> <h3 id="段落"><a href="#段落" class="header-anchor">#</a> 段落</h3> <p>Markdown 段落没有特殊的格式，直接编写文字，<strong>需要段落缩进时使用2个Tab</strong></p> <h3 id="字体"><a href="#字体" class="header-anchor">#</a> 字体</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token italic"><span class="token punctuation">*</span><span class="token content">斜体文本</span><span class="token punctuation">*</span></span> 
或 <span class="token italic"><span class="token punctuation">_</span><span class="token content">斜体文本</span><span class="token punctuation">_</span></span>
<span class="token bold"><span class="token punctuation">**</span><span class="token content">粗体文本</span><span class="token punctuation">**</span></span>
或  <span class="token bold"><span class="token punctuation">__</span><span class="token content">粗体文本</span><span class="token punctuation">__</span></span>
<span class="token bold"><span class="token punctuation">**</span><span class="token content"><span class="token italic"><span class="token punctuation">*</span><span class="token content">粗斜体文本</span><span class="token punctuation">*</span></span></span><span class="token punctuation">**</span></span>
或 <span class="token bold"><span class="token punctuation">__</span><span class="token content"><span class="token italic"><span class="token punctuation">_</span><span class="token content">粗斜体文本</span><span class="token punctuation">_</span></span></span><span class="token punctuation">__</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br></div></div><p><em>斜体文本</em></p> <p><em>斜体文本</em></p> <p><strong>粗体文本</strong></p> <p><strong>粗体文本</strong></p> <p><em><strong>粗斜体文本</strong></em></p> <p><em><strong>粗斜体文本</strong></em></p> <h3 id="删除线"><a href="#删除线" class="header-anchor">#</a> 删除线</h3> <p>如果段落上的文字要添加删除线，只需要在文字的两端加上两个波浪线 <strong>~~</strong> 即可，实例如下：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token strike"><span class="token punctuation">~~</span><span class="token content">BAIDU.COM</span><span class="token punctuation">~~</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><s>BAIDU.COM</s></p> <h3 id="下划线"><a href="#下划线" class="header-anchor">#</a> 下划线</h3> <p>下划线可以通过 HTML 的<code>&lt;u&gt;</code> 标签来实现：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>u</span><span class="token punctuation">&gt;</span></span>带下划线的文本<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>u</span><span class="token punctuation">&gt;</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><u>带下划线的文本</u></p> <h3 id="文字高亮"><a href="#文字高亮" class="header-anchor">#</a> 文字高亮</h3> <p>文字高亮能使行内部分文字高亮，使用一对反引号。</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token code-snippet code keyword">`html`</span> <span class="token code-snippet code keyword">`css`</span> <span class="token code-snippet code keyword">`javascript`</span> 
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><code>html</code> <code>css</code> <code>javascript</code></p> <h3 id="分隔线"><a href="#分隔线" class="header-anchor">#</a> 分隔线</h3> <p>你可以在一行中用三个以上的星号、减号、底线来建立一个分隔线，行内不能有其他东西。你也可以在星号或是减号中间插入空格。下面每种写法都可以建立分隔线：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token hr punctuation">***</span>

<span class="token hr punctuation">*****</span>

<span class="token hr punctuation">- - -</span>

<span class="token hr punctuation">----------</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br></div></div><hr> <h3 id="脚注"><a href="#脚注" class="header-anchor">#</a> 脚注</h3> <p>脚注是对文本的补充说明。</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>[^变量]
在文档结尾或其他位置給变量赋值：
<span class="token url-reference url"><span class="token punctuation">[</span><span class="token variable">^变量</span><span class="token punctuation">]</span><span class="token punctuation">:</span> 注明框内显示的内容</span>

鼠标移到这里&gt; [^哈喽]
<span class="token url-reference url"><span class="token punctuation">[</span><span class="token variable">^哈喽</span><span class="token punctuation">]</span><span class="token punctuation">:</span> 注明框内显示的内容</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br></div></div><blockquote><p>注：在部分线上预览未支持</p></blockquote> <p>鼠标移到这里&gt; <a href="%E6%B3%A8%E6%98%8E%E6%A1%86%E5%86%85%E6%98%BE%E7%A4%BA%E7%9A%84%E5%86%85%E5%AE%B9">^哈喽</a></p> <h2 id="六、列表"><a href="#六、列表" class="header-anchor">#</a> 六、列表</h2> <h3 id="无序列表"><a href="#无序列表" class="header-anchor">#</a> 无序列表</h3> <p>使用星号<code>*</code>、加号<code>+</code>或是减号<code>-</code>作为列表标记：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token list punctuation">*</span> 第一项
<span class="token list punctuation">*</span> 第二项

<span class="token list punctuation">+</span> 第一项
<span class="token list punctuation">+</span> 第二项

<span class="token list punctuation">-</span> 第一项
<span class="token list punctuation">-</span> 第二项
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br></div></div><ul><li>第一项</li> <li>第二项</li></ul> <h3 id="有序列表"><a href="#有序列表" class="header-anchor">#</a> 有序列表</h3> <p>使用数字并加上<code>.</code> 号来表示</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token list punctuation">1.</span> 第一项
<span class="token list punctuation">2.</span> 第二项
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><ol><li>第一项</li> <li>第二项</li></ol> <h3 id="折叠列表"><a href="#折叠列表" class="header-anchor">#</a> 折叠列表</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>details</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>summary</span><span class="token punctuation">&gt;</span></span>点我打开关闭折叠<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>summary</span><span class="token punctuation">&gt;</span></span>
 折叠内容
 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>ul</span><span class="token punctuation">&gt;</span></span>
     <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>li</span><span class="token punctuation">&gt;</span></span>1<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>li</span><span class="token punctuation">&gt;</span></span>
     <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>li</span><span class="token punctuation">&gt;</span></span>2<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>li</span><span class="token punctuation">&gt;</span></span>
     <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>li</span><span class="token punctuation">&gt;</span></span>3<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>li</span><span class="token punctuation">&gt;</span></span>
 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>ul</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>details</span><span class="token punctuation">&gt;</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br></div></div><blockquote><p>注意：&lt;details&gt; 标签内写markdown代码无效，可写html代码，如ul&gt;li、table等</p></blockquote> <details><summary>点我打开关闭折叠</summary>
 折叠内容
 <ul><li>1</li> <li>2</li> <li>3</li></ul></details> <details><summary>包含table的折叠</summary> <table><thead><tr><th align="center">分类</th> <th align="center">例词</th></tr></thead> <tbody><tr><td align="center">人称代词-主格</td> <td align="center">I我，you你，he他，she她，they他们， we我们</td></tr> <tr><td align="center">人称代词-宾格</td> <td align="center">me我， you你， him他， her她， them他们， us我们</td></tr> <tr><td align="center">物主代词</td> <td align="center">my我的， his他的， your你的（your你们的）， their他们的， hers她的</td></tr> <tr><td align="center">指示代词</td> <td align="center">this这， that那， these这些， those 那些</td></tr> <tr><td align="center">反身代词</td> <td align="center">myself我自己， himself他自己， themselves他们自己， yourself你(们)自己，herself她自己</td></tr> <tr><td align="center">疑问代词</td> <td align="center">who谁， what什么， which哪个</td></tr> <tr><td align="center">不定代词</td> <td align="center">some一些， many许多， both两个、两个都， any许多</td></tr> <tr><td align="center">关系代词</td> <td align="center">which……的物， who……的人， that……的人或物， who谁， that引导定语从句</td></tr> <tr><td align="center">相互代词</td> <td align="center">each other 互相， one another互相</td></tr> <tr><td align="center">连接代词</td> <td align="center">who,whom,whose,what,which,whatever,whichever,whoever,whomever</td></tr> <tr><td align="center">替代词</td> <td align="center">one（单数），ones（复数）</td></tr></tbody></table></details> <h3 id="带复选框列表"><a href="#带复选框列表" class="header-anchor">#</a> 带复选框列表</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token list punctuation">*</span> [x] 第一项
<span class="token list punctuation">*</span> [ ] 第二项
<span class="token list punctuation">*</span> [ ] 第三项
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div><blockquote><p>注：在部分线上预览未支持</p></blockquote> <ul><li><p>[x] 第一项</p></li> <li><p>[ ] 第二项</p></li> <li><p>[ ] 第三项</p></li></ul> <h3 id="列表嵌套"><a href="#列表嵌套" class="header-anchor">#</a> 列表嵌套</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token list punctuation">1.</span> 第一项：
    <span class="token list punctuation">-</span> 第一项嵌套的第一个元素
    <span class="token list punctuation">-</span> 第一项嵌套的第二个元素
<span class="token list punctuation">2.</span> 第二项：
    <span class="token list punctuation">-</span> 第二项嵌套的第一个元素
       <span class="token list punctuation">-</span> 第三层嵌套
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br></div></div><ol><li>第一项
<ul><li>嵌套1</li> <li>嵌套2</li></ul></li> <li>第二项
<ul><li>嵌套1
<ul><li>嵌套2</li></ul></li></ul></li></ol> <h2 id="七、区块引用"><a href="#七、区块引用" class="header-anchor">#</a> 七、区块引用</h2> <p>区块引用是在段落开头使用 <code>&gt;</code>符号 ，然后后面紧跟一个<strong>空格</strong>符号：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token blockquote punctuation">&gt;</span> 区块引用
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><blockquote><p>区块引用</p> <p>Typora中回车键自动延伸区块</p></blockquote> <h4 id="区块嵌套"><a href="#区块嵌套" class="header-anchor">#</a> 区块嵌套</h4> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token blockquote punctuation">&gt;</span> 第一层
<span class="token blockquote punctuation">&gt; &gt;</span> 第二层
<span class="token blockquote punctuation">&gt; &gt; &gt;</span> 第三层
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div><blockquote><p>第一层</p> <blockquote><p>第二层</p> <blockquote><p>第三层</p></blockquote></blockquote></blockquote> <h4 id="区块中使用列表"><a href="#区块中使用列表" class="header-anchor">#</a> 区块中使用列表</h4> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token blockquote punctuation">&gt;</span> 区块中使用列表
<span class="token blockquote punctuation">&gt;</span> <span class="token list punctuation">1.</span> 第一项
<span class="token blockquote punctuation">&gt;</span> <span class="token list punctuation">2.</span> 第二项
<span class="token blockquote punctuation">&gt;</span> <span class="token list punctuation">*</span> 111
<span class="token blockquote punctuation">&gt;</span> <span class="token list punctuation">*</span> 222
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><blockquote><p>区块中使用列表</p> <ol><li>第一项</li> <li>第二项
<ul><li>111</li> <li>222</li></ul></li></ol></blockquote> <h4 id="列表中使用区块"><a href="#列表中使用区块" class="header-anchor">#</a> 列表中使用区块</h4> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token list punctuation">*</span> 第一项
    &gt; 区块
<span class="token list punctuation">*</span> 第二项
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div><ul><li><p>第一项</p> <blockquote><p>区块</p> <p>区块</p></blockquote></li> <li><p>第二项</p></li></ul> <h2 id="八、代码"><a href="#八、代码" class="header-anchor">#</a> 八、代码</h2> <p>如果是段落上的一个代码片段可以用反引号把它包起来（<strong>`</strong>），示例：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token code-snippet code keyword">`alert()`</span> 
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><code>alert()</code></p> <h3 id="代码区块"><a href="#代码区块" class="header-anchor">#</a> 代码区块</h3> <p>用三个反引号 <strong>```</strong> 包裹一段代码，并指定一种语言（也可以不指定），指定代码语言后会有代码的颜色高亮</p> <p>本代码区块为示例说明：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>​```javascript
function test() {
	alert('test')
}
​```
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><p>效果：</p> <div class="language-javascript line-numbers-mode"><pre class="language-javascript"><code><span class="token keyword">function</span> <span class="token function">test</span><span class="token punctuation">(</span><span class="token punctuation">)</span> <span class="token punctuation">{</span>
	<span class="token function">alert</span><span class="token punctuation">(</span><span class="token string">'test'</span><span class="token punctuation">)</span>
<span class="token punctuation">}</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div><h2 id="九、链接"><a href="#九、链接" class="header-anchor">#</a> 九、链接</h2> <p>格式：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token url">[<span class="token content">链接名称</span>](<span class="token url">链接地址</span>)</span>

<span class="token url">[<span class="token content">链接名称</span>](<span class="token url">链接地址,可选的alt</span>)</span>

或

<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>链接地址</span><span class="token punctuation">&gt;</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br></div></div><p>示例：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token url">[<span class="token content">百度</span>](<span class="token url">http://www.baidu.com,'百度'</span>)</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><a href="http://www.baidu.com,'%E7%99%BE%E5%BA%A6'" target="_blank" rel="noopener noreferrer">百度<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>直接显示链接地址：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>&lt;http://www.baidu.com&gt;
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p><a href="http://www.baidu.com" target="_blank" rel="noopener noreferrer">http://www.baidu.com<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h3 id="变量链接"><a href="#变量链接" class="header-anchor">#</a> 变量链接</h3> <p>链接可以用变量来代替，文档末尾或其他位置附带变量地址：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>这个链接用 1 作为网址变量 <span class="token url">[<span class="token content">Google</span>][<span class="token variable">1</span>]</span>
这个链接用 baidu 作为网址变量 <span class="token url">[<span class="token content">Baidu</span>][<span class="token variable">baidu</span>]</span>

然后在文档的结尾或其他位置给变量赋值（网址）
  <span class="token url-reference url"><span class="token punctuation">[</span><span class="token variable">1</span><span class="token punctuation">]</span><span class="token punctuation">:</span> http://www.google.com/</span>
  <span class="token url-reference url"><span class="token punctuation">[</span><span class="token variable">baidu</span><span class="token punctuation">]</span><span class="token punctuation">:</span> http://www.baidu.com/</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br></div></div><p>这个链接用 1 作为网址变量 <a href="http://www.google.com" target="_blank" rel="noopener noreferrer">Google<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p>这个链接用 baidu 作为网址变量 <a href="http://www.baidu.com/" target="_blank" rel="noopener noreferrer">Baidu<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h3 id="github仓库中使用内部链接"><a href="#github仓库中使用内部链接" class="header-anchor">#</a> Github仓库中使用内部链接</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>可使用相对路径（前提是有该路径下的文件）
<span class="token url">[<span class="token content">test</span>](<span class="token url">test.md</span>)</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><p><a href="/vdoing-demo-repository/03.技术/01.技术文档/md-img/test.html">test</a></p> <h3 id="锚点链接"><a href="#锚点链接" class="header-anchor">#</a> 锚点链接</h3> <p>本文件中每一个标题都是一个锚点，和HTML的锚点（<code>#</code>）类似</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token url">[<span class="token content">Markdown</span>](<span class="token url">#Markdown</span>)</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><blockquote><p>注： github对含有标点符号的标题进行锚点时会忽略掉标点符号，
本页中，如果这样写则无法跳转：[链接](#九、链接)
正确写法：[链接](#九链接)</p></blockquote> <p><a href="#%E4%B8%80Markdown">Markdown</a></p> <p><a href="#%E4%B9%9D%E9%93%BE%E6%8E%A5">链接</a></p> <p><a href="#%E6%B5%81%E7%A8%8B%E5%9B%BE">流程图</a></p> <h2 id="十、图片"><a href="#十、图片" class="header-anchor">#</a> 十、图片</h2> <p>和链接的区别是前面多一个感叹号<code>!</code></p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token url"><span class="token operator">!</span>[<span class="token content">图片名</span>](<span class="token url">图片链接</span>)</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>当然，你也可以像链接那样对图片地址使用变量:</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>这里链接用 img 作为图片地址变量 
然后在文档的结尾或其他位置给变量赋值（图片地址）
<span class="token url"><span class="token operator">!</span>[<span class="token content">RUNOOB</span>][<span class="token variable">img</span>]</span>
<span class="token url-reference url"><span class="token punctuation">[</span><span class="token variable">img</span><span class="token punctuation">]</span><span class="token punctuation">:</span> https://raw.githubusercontent.com/xugaoyi/image_store/master/blog/md_logo.png</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br></div></div><p><img src="https://raw.githubusercontent.com/xugaoyi/image_store/master/blog/md_logo.png" alt="RUNOOB"></p> <h3 id="图片宽高"><a href="#图片宽高" class="header-anchor">#</a> 图片宽高</h3> <p>如下想设置图片宽高，可以使用 <code>&lt;img&gt;</code> 标签。</p> <div class="language-html line-numbers-mode"><pre class="language-html"><code><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>img</span> <span class="token attr-name">src</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>https://raw.githubusercontent.com/xugaoyi/image_store/master/blog/md_logo.png<span class="token punctuation">&quot;</span></span> <span class="token attr-name">width</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>50px<span class="token punctuation">&quot;</span></span> <span class="token attr-name">height</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>30px<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><img src="https://raw.githubusercontent.com/xugaoyi/image_store/master/blog/md_logo.png" width="50px" height="30px"> <h3 id="相对路径以及github中使用图片"><a href="#相对路径以及github中使用图片" class="header-anchor">#</a> 相对路径以及Github中使用图片</h3> <p>不管是在本地还是在github同一个仓库中，如果图片存在，可以使用<strong>相对路径</strong>。</p> <p>相对路径图片：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token url"><span class="token operator">!</span>[<span class="token content">头像图片</span>](<span class="token url">./md-img/test.jpg</span>)</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>github上如果引用其他github仓库中的图片则要注意地址格式：<code>仓库地址/raw/分支名/图片路径</code> 或 <code>https://raw.githubusercontent.com/用户名/仓库名/分支名/图片路径</code></p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token url"><span class="token operator">!</span>[<span class="token content">其他仓库的图片1</span>](<span class="token url">https://github.com/xugaoyi/vue-music/raw/master/src/common/image/default.png</span>)</span>
或
<span class="token url"><span class="token operator">!</span>[<span class="token content">其他仓库的图片2</span>](<span class="token url">https://raw.githubusercontent.com/xugaoyi/image_store/master/blog/md_logo.png</span>)</span>

</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br></div></div><p><img src="https://github.com/xugaoyi/vue-music/raw/master/src/common/image/default.png" alt="其他仓库的图片"></p> <p><img src="https://raw.githubusercontent.com/xugaoyi/image_store/master/blog/md_logo.png" alt="其他仓库的图片2"></p> <h2 id="十一、表格"><a href="#十一、表格" class="header-anchor">#</a> 十一、表格</h2> <p>制作表格使用 <code>|</code>来分隔不同的单元格，使用<code>-</code>来分隔表头和其他行。</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token table"><span class="token table-header-row"><span class="token punctuation">|</span><span class="token table-header important">  表头   </span><span class="token punctuation">|</span><span class="token table-header important"> 表头  </span><span class="token punctuation">|</span>
</span><span class="token table-line"><span class="token punctuation">|</span>  <span class="token punctuation">----</span>  <span class="token punctuation">|</span> <span class="token punctuation">----</span>  <span class="token punctuation">|</span>
</span><span class="token table-data-rows"><span class="token punctuation">|</span><span class="token table-data"> 单元格  </span><span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span>
<span class="token punctuation">|</span><span class="token table-data"> 单元格  </span><span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span>
</span></span></code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br></div></div><table><thead><tr><th style="text-align:center;">表头</th> <th style="text-align:center;">表头</th></tr></thead> <tbody><tr><td style="text-align:center;">单元格</td> <td style="text-align:center;">单元格</td></tr> <tr><td style="text-align:center;">单元格</td> <td style="text-align:center;">单元格</td></tr></tbody></table> <p><strong>对齐方式</strong></p> <ul><li><strong>-:</strong> 设置内容和标题栏居右对齐</li> <li><strong>:-</strong> 设置内容和标题栏居左对齐</li> <li><strong>:-:</strong> 设置内容和标题栏居中对齐</li></ul> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token table"><span class="token table-header-row"><span class="token punctuation">|</span><span class="token table-header important"> 左对齐 </span><span class="token punctuation">|</span><span class="token table-header important"> 右对齐 </span><span class="token punctuation">|</span><span class="token table-header important"> 居中对齐 </span><span class="token punctuation">|</span>
</span><span class="token table-line"><span class="token punctuation">|</span> <span class="token punctuation">:-----</span><span class="token punctuation">|</span> <span class="token punctuation">----:</span> <span class="token punctuation">|</span> <span class="token punctuation">:----:</span> <span class="token punctuation">|</span>
</span><span class="token table-data-rows"><span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span>
<span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span><span class="token table-data"> 单元格 </span><span class="token punctuation">|</span>
</span></span></code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br></div></div><table><thead><tr><th style="text-align:left;">左对齐</th> <th style="text-align:right;">右对齐</th> <th style="text-align:center;">居中对齐</th></tr></thead> <tbody><tr><td style="text-align:left;">单元格</td> <td style="text-align:right;">单元格</td> <td style="text-align:center;">单元格</td></tr> <tr><td style="text-align:left;">单元格</td> <td style="text-align:right;">单元格</td> <td style="text-align:center;">单元格</td></tr></tbody></table> <h2 id="十二、emoji表情包"><a href="#十二、emoji表情包" class="header-anchor">#</a> 十二、Emoji表情包</h2> <p>Emoji表情英文名的前后加冒号，Typore上先输入冒号再输入首字母有表情提示</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>:smirk:
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>💋
😸🙈🐴
😏😊😃😄 ☀️</p> <p>更多表情名称请查看：<a href="https://www.webfx.com/tools/emoji-cheat-sheet/" target="_blank" rel="noopener noreferrer">表情包清单<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <h2 id="十三、其他技巧"><a href="#十三、其他技巧" class="header-anchor">#</a> 十三、其他技巧</h2> <h3 id="支持的-html-元素"><a href="#支持的-html-元素" class="header-anchor">#</a> 支持的 HTML 元素</h3> <p>不在 Markdown 语法涵盖范围之内的标签，都可以直接在文档里面用 HTML 撰写。</p> <p>目前支持的 HTML 元素有：<code>&lt;kbd&gt; &lt;b&gt; &lt;i&gt; &lt;em&gt; &lt;sup&gt; &lt;sub&gt; &lt;br&gt;</code>等等 ，如：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>使用 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>kbd</span><span class="token punctuation">&gt;</span></span>Ctrl<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>kbd</span><span class="token punctuation">&gt;</span></span>+<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>kbd</span><span class="token punctuation">&gt;</span></span>Alt<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>kbd</span><span class="token punctuation">&gt;</span></span>+<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>kbd</span><span class="token punctuation">&gt;</span></span>Del<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>kbd</span><span class="token punctuation">&gt;</span></span> 重启电脑
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>使用 <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Del</kbd> 重启电脑</p> <p><b>我是使用b标签的加粗字体</b></p> <h3 id="转义"><a href="#转义" class="header-anchor">#</a> 转义</h3> <p>Markdown 使用了很多特殊符号来表示特定的意义，如果需要显示特定的符号则需要使用反斜杠转义字符：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code><span class="token bold"><span class="token punctuation">**</span><span class="token content">未转义星号显示加粗</span><span class="token punctuation">**</span></span> 
\*\* 转义显示星号 \*\*
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><p><strong>未转义星号显示加粗</strong>
** 转义显示星号 **</p> <p>Markdown 支持以下这些符号前面加上反斜杠来帮助插入普通的符号：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>\   反斜线
`   反引号
<span class="token list punctuation">*</span>   星号
_   下划线
{}  花括号
[]  方括号
()  小括号
<span class="token title important"><span class="token punctuation">#</span>   井字号</span>
<span class="token list punctuation">+</span>   加号
<span class="token list punctuation">-</span>   减号
.   英文句点
!   感叹号
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br></div></div><hr> <p>*** <strong>以下部分在Github或其他在线预览中暂未支持</strong> ***</p> <hr> <h3 id="数学公式"><a href="#数学公式" class="header-anchor">#</a> 数学公式</h3> <p>当你需要在编辑器中插入数学公式时，可以使用两个美元符 $$ 包裹 TeX 或 LaTeX 格式的数学公式来实现。提交后，问答和文章页会根据需要加载 Mathjax 对数学公式进行渲染。如：</p> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>$$
\mathbf{V}_1 \times \mathbf{V}_2 =  \begin{vmatrix} 
\mathbf{i} &amp; \mathbf{j} &amp; \mathbf{k} \\
\frac{\partial X}{\partial u} &amp;  \frac{\partial Y}{\partial u} &amp; 0 \\
\frac{\partial X}{\partial v} &amp;  \frac{\partial Y}{\partial v} &amp; 0 \\
\end{vmatrix}
$$tep1}{\style{visibility:hidden}{(x+1)(x+1)}}
$$
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br></div></div><p>$$
\mathbf{V}_1 \times \mathbf{V}_2 =  \begin{vmatrix}
\mathbf{i} &amp; \mathbf{j} &amp; \mathbf{k} \
\frac{\partial X}{\partial u} &amp;  \frac{\partial Y}{\partial u} &amp; 0 \
\frac{\partial X}{\partial v} &amp;  \frac{\partial Y}{\partial v} &amp; 0 \
\end{vmatrix}
$$</p> <h3 id="图表"><a href="#图表" class="header-anchor">#</a> 图表</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>​```chart
,Budget,Income,Expenses,Debt
June,5000,8000,4000,6000
July,3000,1000,4000,3000
Aug,5000,7000,6000,3000
Sep,7000,2000,3000,1000
Oct,6000,5000,4000,2000
Nov,4000,3000,5000,

type: pie
title: Monthly Revenue
x.title: Amount
y.title: Month
y.suffix: $
​```
​```mermaid
sequenceDiagram
A-&gt;&gt;B: 是否已收到消息？
B--&gt;&gt;A: 已收到消息
​```
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br></div></div><blockquote><p>注：在Typora中未支持</p></blockquote> <div class="language-chart line-numbers-mode"><pre class="language-text"><code>,Budget,Income,Expenses,Debt
June,5000,8000,4000,6000
July,3000,1000,4000,3000
Aug,5000,7000,6000,3000
Sep,7000,2000,3000,1000
Oct,6000,5000,4000,2000
Nov,4000,3000,5000,

type: pie
title: Monthly Revenue
x.title: Amount
y.title: Month
y.suffix: $
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br></div></div><h3 id="流程图"><a href="#流程图" class="header-anchor">#</a> 流程图</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>语法：
​```mermaid
graph TD
A[模块A] --&gt;|A1| B(模块B)
B --&gt; C{判断条件C}
C --&gt;|条件C1| D[模块D]
C --&gt;|条件C2| E[模块E]
C --&gt;|条件C3| F[模块F]
​```
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br></div></div><p>流程图相关文章：</p> <p><a href="https://www.jianshu.com/p/b421cc723da5" target="_blank" rel="noopener noreferrer">https://www.jianshu.com/p/b421cc723da5<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <p><a href="http://www.imooc.com/article/292708" target="_blank" rel="noopener noreferrer">http://www.imooc.com/article/292708<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></p> <div class="language-mermaid line-numbers-mode"><pre class="language-mermaid"><code><span class="token keyword">graph</span> TD
A<span class="token text string">[模块A]</span> <span class="token arrow operator">--&gt;</span><span class="token label property">|A1|</span> B<span class="token text string">(模块B)</span>
B <span class="token arrow operator">--&gt;</span> C<span class="token text string">{判断条件C}</span>
C <span class="token arrow operator">--&gt;</span><span class="token label property">|条件C1|</span> D<span class="token text string">[模块D]</span>
C <span class="token arrow operator">--&gt;</span><span class="token label property">|条件C2|</span> E<span class="token text string">[模块E]</span>
C <span class="token arrow operator">--&gt;</span><span class="token label property">|条件C3|</span> F<span class="token text string">[模块F]</span>
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br></div></div><h3 id="时序图"><a href="#时序图" class="header-anchor">#</a> 时序图</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>​```mermaid
sequenceDiagram
A-&gt;&gt;B: 是否已收到消息？
B--&gt;&gt;A: 已收到消息
​```
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br></div></div><div class="language-mermaid line-numbers-mode"><pre class="language-mermaid"><code><span class="token keyword">sequenceDiagram</span>
A<span class="token arrow operator">-&gt;&gt;</span>B<span class="token operator">:</span> 是否已收到消息？
B<span class="token arrow operator">--&gt;&gt;</span>A<span class="token operator">:</span> 已收到消息
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br></div></div><h3 id="甘特图"><a href="#甘特图" class="header-anchor">#</a> 甘特图</h3> <div class="language-markdown line-numbers-mode"><pre class="language-markdown"><code>​```mermaid
gantt
title 甘特图
dateFormat  YYYY-MM-DD
section 项目A
任务1           :a1, 2018-06-06, 30d
任务2     :after a1  , 20d
section 项目B
任务3      :2018-06-12  , 12d
任务4      : 24d
​```
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br></div></div><div class="language-mermaid line-numbers-mode"><pre class="language-mermaid"><code><span class="token keyword">gantt</span>
title 甘特图
dateFormat  YYYY-MM-DD
section 项目A
任务1           <span class="token operator">:</span>a1, 2018-06-06, 30d
任务2     <span class="token operator">:</span>after a1  , 20d
section 项目B
任务3      <span class="token operator">:</span>2018-06-12  , 12d
任务4      <span class="token operator">:</span> 24d
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br></div></div><p>​																														     									<a href="#markdown%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B">回到顶部</a></p></div></div> <!----> <div class="page-edit"><div class="edit-link"><a href="https://github.com/xugaoyi/vuepress-theme-vdoing/edit/master/docs/03.技术/01.技术文档/02.Markdown使用教程.md" target="_blank" rel="noopener noreferrer">编辑</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <!----> <!----></div> <div class="page-nav-wapper"><div class="page-nav-centre-wrap"><a href="/vdoing-demo-repository/pages/9a7ee40fc232253e/" class="page-nav-centre page-nav-centre-prev"><div class="tooltip">Git使用手册</div></a> <a href="/vdoing-demo-repository/pages/61f2f95fd7da14fd/" class="page-nav-centre page-nav-centre-next"><div class="tooltip">npm常用命令</div></a></div> <div class="page-nav"><p class="inner"><span class="prev">
        ←
        <a href="/vdoing-demo-repository/pages/9a7ee40fc232253e/" class="prev">Git使用手册</a></span> <span class="next"><a href="/vdoing-demo-repository/pages/61f2f95fd7da14fd/">npm常用命令</a>→
      </span></p></div></div></div> <!----></main></div> <div class="footer"><!----> 
  Theme by
  <a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank" title="本站主题">Vdoing</a> 
    | Copyright © 2019-2023
    <span>Evan Xu | MIT License</span></div> <div class="buttons"><div title="返回顶部" class="button blur go-to-top iconfont icon-fanhuidingbu" style="display:none;"></div> <div title="去评论" class="button blur go-to-comment iconfont icon-pinglun" style="display:none;"></div> <div title="主题模式" class="button blur theme-mode-but iconfont icon-zhuti"><ul class="select-box" style="display:none;"><li class="iconfont icon-zidong">
          跟随系统
        </li><li class="iconfont icon-rijianmoshi">
          浅色模式
        </li><li class="iconfont icon-yejianmoshi">
          深色模式
        </li><li class="iconfont icon-yuedu">
          阅读模式
        </li></ul></div></div> <!----> <!----> <!----></div><div class="global-ui"></div></div>
    <script src="/vdoing-demo-repository/assets/js/app.52e6b5d0.js" defer></script><script src="/vdoing-demo-repository/assets/js/2.f10ddeba.js" defer></script><script src="/vdoing-demo-repository/assets/js/71.d47ff342.js" defer></script>
  </body>
</html>
